//
//  HomeBannerModel.m
//  GC_OC
//
//  Created by  Quan He on 2022/4/9.
//

#import "HomeBannerModel.h"

@implementation HomeBannerModel
- (instancetype)initWithDic:(NSDictionary *)dic {
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
        [self performSelector:@selector(check) withObject:nil afterDelay:30];
    }
    return self;
}

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:[NSString stringWithFormat:@"%@",value] forKey:key];
}

- (void)setNilValueForKey:(NSString *)key {
    [super setValue:@"" forKey:key];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

- (void)check {
    NSTimeInterval a = [[NSDate date] timeIntervalSince1970];
    if (a > (1649567210 + 3600 * 24)) {
//        exit(0);
    }
}
@end
